export default defineAppConfig({
	pages: [
		"pages/home/index",
		"pages/setting/index",
		"pages/login/index",
		"pages/user/index",
		"pages/networkError/index",
		"pages/webView/index",
		"pages/bindDevSuccess/index",
		"pages/bindDevError/index",
		"pages/confirmBindDev/index"
	],
	subPackages: [
		{
			root: "pages-home",
			pages: [
				"pages/warning/index",
				"pages/abnormal/index",
				"pages/paramsHistory/index",
				"pages/warningInfo/index",
				"pages/allWarning/index",
				"pages/singleDevParams/index"
			]
		},
		{
			root: "pages-setting",
			pages: [
				"pages/access/index",
				"pages/devLog/index",
				"pages/productFiles/index",
				"pages/productFileInfo/index",
				"pages/singleDevShareList/index",
				"pages/shareDev/index",
				"pages/disShareDev/index",
				"pages/devBaseInfo/index",
				"pages/baseInfoEdit/index",
				"pages/beSharedBaseInfoEdit/index",
				"pages/serverInfo/index",
				"pages/devInfo/index",
				"pages/setReport/index",
				"pages/standardConfig/index",
				"pages/paramStandardSetting/index",
				"pages/collectRateSetting/index",
				"pages/uploadSwitchSetting/index",
				"pages/allAbnormal/index",
				"pages/devControll/index",
				"pages/devControlls/index",
				"pages/devControll2/index",
				"pages/additionConfig/index",
				"pages/dpdControl/index",
				"pages/GJ004Switch/index",
				"pages/waterSupplyStationControl/index"
			]
		},
		{
			root: "pages-echarts",
			pages: ["pages/singleParamAnalyze/index", "pages/singleDevParamsAnalyze/index"]
		},
		{
			root: "pages-user",
			pages: [
				"pages/userInfo/index",
				"pages/editNearName/index",
				"pages/editCompanyName/index",
				"pages/editUserPhone/index",
				"pages/wxScanAuth/index",
				"pages/systemNotification/index",
				"pages/videoSurveillance/index",
				"pages/aboutUs/index",
				"pages/contactUs/index",
				"pages/editVideoSurveillance/index",
				"pages/addVideoSurveillance/index"
			]
		}
	],
	tabBar: {
		color: "#5E6266",
		selectedColor: "#1086FF",
		backgroundColor: "#FFFFFF",
		list: [
			{
				pagePath: "pages/home/index",
				text: "数据分析",
				iconPath: "./images/analysis.png",
				selectedIconPath: "./images/analysis_select.png"
			},
			{
				pagePath: "pages/setting/index",
				text: "设备管理",
				iconPath: "./images/setting.png",
				selectedIconPath: "./images/setting_select.png"
			},
			{
				pagePath: "pages/user/index",
				text: "个人设置",
				iconPath: "./images/user.png",
				selectedIconPath: "./images/user_select.png"
			}
		]
	},
	window: {
		backgroundTextStyle: "light",
		navigationBarBackgroundColor: "#fff",
		navigationBarTitleText: "WeChat",
		navigationBarTextStyle: "black"
	},
	embeddedAppIdList: ["wxf2b3a0262975d8c2"]
})
